﻿@{
    ViewBag.Title = "查找工作岗位";
}
@section headerSection{
    <style>
        .float-unit {
            height: 100%;
            border: 1px solid #E7EAEC;
            border-top-width: 0px;
            border-bottom-width: 0px;
            margin-bottom: 0px;
        }

        .left-sm-3 {
            padding-left: 0px;
        }

        .right-sm-9 {
            padding-right: 0px;
        }

        .ibox-unit {
            overflow-y: auto;
            height: 89%;
            padding: 0px;
        }

        #exampleToolbar div {
            margin-bottom: 0px;
        }

        #exampleToolbar > .form-group {
            margin:15px 20px;
        }
        .wageTitle{
            font-size:17px;
            font-weight:700;
            color:#FF552E;
        }
        .wageMonth{
            font-size:14px;
        }
        .m-b-xs > strong{font-size:16px;}
        .wagewelfare>span{
            padding:2px 4px;
            background-color:rgb(243, 243, 243);
            color:rgb(85, 132, 175);
            margin-right:10px;
        }
        .wageAsk{margin-top:15px;}
        .wageAsk>span{ color:rgb(153, 153, 153); }
        .wageContent{padding-bottom:15px;padding-left:5px;}
        .wageCompany{padding-top:15px;}
        .form-group > button {
            margin-top: -2px;
            margin-bottom: 2px;
        }
        .formWelfare { margin: 30px 0px 35px;}
        .formWelfare>span{color:#498DBD;background-color:#F6FCFF;padding:5px 8px;margin-right:6px;}
    </style>
}
<div class="wrapper animated fadeInRight autoHeight">
    <!-- Panel Other -->
    <div class="row autoHeight" style="background-color: #fff;">
        <div id="unitTree" class="col-sm-2" style="height:100%;padding:0;border:1px solid #E7EAEC;">
            <div class="btn-group hidden-xs" id="exampleToolbar" role="group" style="width:100%;">
                @{
                    List<string> folderList = (List<string>)ViewBag.elementList;
                    if (folderList.Contains("btnSearch"))
                    {
                        <div class="form-group">
                            <label>请选择岗位：</label>
                            <select id="workType" name="workType" class="form-control show-tick selectpicker" data-live-search="true" placeholder="请选择岗位" >
                                <option value="" selected>全部</option>
                            </select>
                        </div>
                        <div class="form-group">
                            <label>请输入工作城市：</label>
                            <input id="workCity" name="workCity" type="text" class="form-control" placeholder="请输入工作城市">
                            @*<select id="workCity" name="workCity" class="form-control show-tick selectpicker" data-live-search="true" placeholder="请选择工作城市">
                                <option value="" selected>面议</option>
                            </select>*@
                        </div>
                        <div class="form-group">
                            <label>请输入起薪：</label>
                            <input id="wageStart" name="wageStart" type="text" class="form-control"  placeholder="请输入起薪">
                        </div>
                        <div class="form-group">
                            <label>请输入薪资截止：</label>
                            <input id="wageEnd" name="wageEnd" type="text" class="form-control"  placeholder="请输入薪资截止">
                        </div>
                        <div class="form-group">
                            <label>请选择性别：</label>
                            <select id="userSex" name="userSex" title="请选择性别" class="form-control show-tick selectpicker"  placeholder="请选择性别" style="padding: 5px 10px;">
                                <option value="" selected>不限</option>
                                <option value="男">男</option>
                                <option value="女">女</option>
                            </select>
                        </div>
                        <div class="form-group">
                            <label>请选择学历：</label>
                            <select id="userEdu" name="userEdu" class="form-control show-tick selectpicker" data-live-search="true" placeholder="请选择学历">
                                <option value="" selected>不限</option>
                            </select>
                        </div>
                        <div class="form-group">
                            <label>请选择年龄：</label>
                            <select id="userAge" name="userAge" class="form-control show-tick selectpicker" data-live-search="true" placeholder="请选择年龄">
                                <option value="" selected>不限</option>
                            </select>
                        </div>
                        <div class="form-group">
                            <label>请选择工作经验：</label>
                            <select id="useAgeLimit" name="useAgeLimit" class="form-control show-tick selectpicker" data-live-search="true" placeholder="请选择发布日期">
                                <option value="" selected>不限</option>
                            </select>
                        </div>
                        <div class="form-group">
                            <label>请选择发布日期：</label>
                            <input id="issueStart" name="issueStart" type="text" class="form-control input-sm" placeholder="请选择发布日期" title="请选择发布日期" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" />
                        </div>
                        <div class="form-group" style="text-align:right;">
                            <button id="btnSearch" class="btn btn-primary" type="button"><i class="fa fa-search"></i>&nbsp;查询</button>
                        </div>
                    }
                }
            </div>
        </div>
        <div class="col-sm-10 col-sm-leftRight" style="height:100%;">
            <!-- Example Toolbar -->
            <div class="example" style="height:100%;">
                <!-- 标题 -->
                <div class="ibox-title" style="border-width:2px 0 0;">
                    <h5>职位信息</h5>
                </div>
                <!-- 内容 -->
                <div id="job_content" class="ibox-content timeline" style="overflow-y:auto;height:calc(100% - 120px);"></div>
                <!--  分页控件 -->
                <div>
                    <ul id="pagination" class="pagination" style="margin:15px 0px 15px 50px;"></ul>
                </div>
            </div>
            <!-- End Example Toolbar -->
        </div>
    </div>
    <!-- End Panel Other -->
</div>
<!-- 查看 -->
<div id="org_form" style="width: 850px; height:100%; overflow-x: hidden; display: none;">
    <form class="form-horizontal m-t" style="padding:10px 20px;" id="orgFormTable" method="post" enctype="multipart/form-data">
        <div style="color:#979A9E;">
            <span>更新：<strong id="iseeDay"></strong> 天前</span>
            <span>浏览：<strong id="browseNum"></strong> 人</span>
            <div style="width:200px;float:right;">
                <span>发布时间：<strong id="iseeDate"></strong></span>
            </div>
        </div>
        <div class="row" style="border-bottom:1px solid #F6F6F6;">
            <div class="col-xs-7">
                <h1 id="jobWorkType" style="font-weight:700;margin-top:30px;"></h1>
                <p id="jobTitle" style="font-size:20px;font-weight:500;margin:20px auto;"></p>
                <p id="jobWelfare" class="formWelfare">
                </p>
            </div>
            <div class="col-xs-5">
                <p style="color:rgb(255, 85, 46);margin-top:30px;margin-left:20px;"><span id="jobWageNum" style="font-size:36px;font-weight:700;"></span><label id="jobMonth"> 元/月</label></p>
            </div>
        </div>
        <div>
            <p style="margin:15px auto;">
                <span>招<strong id="jobCount"></strong>人&nbsp;&nbsp;|&nbsp;&nbsp;</span>
                <span><label id="jobEdu"></label>&nbsp;&nbsp;|&nbsp;&nbsp;</span>
                <span id="jobLimit"></span>
            </p>
            <p>
                <span><i class="fa fa-phone"></i>&nbsp;联系电话：<label id="jobPhone"></label></span>
                <span style="margin-left:50px;"><i class="fa fa-commenting-o"></i>&nbsp;联系邮箱：<label id="jobEmail"></label></span>
            </p>
            <p><i class="fa fa-bus"></i>&nbsp;<label id="jobAddr"></label></p>
        </div>
        <div>
            <p style="font-size:21px;font-weight:600;margin:25px auto;">职位描述</p>
            <p id="jobPostSaid" style="line-height:30px;"></p>
            <p style="font-size:21px;font-weight:600;margin:25px auto;">公司简介</p>
            <p id="jobComSaid" style="line-height:30px;"></p>
        </div>
    </form>
</div>
@section footSection{
    <script src="~/Resources/tools/bootstrap-paginator.min.js"></script>
    <script src="~/Resources/myScript/Job/jobSeeManager.js"></script>
    <script>
        $(function () {
            //初始化Page
            jobSeeManager.initPage();
        });
    </script>
}

